package com.max.xihu.patterns.afactory;

/**
 * @Author: Max
 * @Date: 2020-09-06 09:32
 * @Description:代理工厂
 */
public class ConcreateFactory extends AbstractFactory{
    @Override
    public AbstractProduct createProductA() {
        return new ConcreateProductA();
    }

    @Override
    public AbstractProduct createProductB() {
        return new ConcreateProductB();
    }
}
